# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-listparser
pkgver=0.19
pkgrel=4
pkgdesc="Parse OPML, FOAF, and iGoogle subscription lists"
url="https://github.com/kurtmckee/listparser"
arch="noarch"
license="GPL-3.0-or-later"
depends="python3 py3-requests"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/l/listparser/listparser-$pkgver.tar.gz"
builddir="$srcdir/listparser-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
7c56ca1711c94fa4936cb6d0e1214270fe2e5756c57981ed16f5cf7b3ce6ffce28fd21bb2085ccd002eb47df6740a6b9c427c8acf0f7d56883d487fe5f8847b8  listparser-0.19.tar.gz
"
